package com.it.you.service.teacher;

import com.baomidou.mybatisplus.extension.service.IService;
import com.it.you.entity.dto.TeacherDTO;
import com.it.you.entity.pojo.TbTeacher;

import java.util.List;

public interface TeacherService extends IService<TbTeacher> {

    void saveOrUpdate(TeacherDTO teacherDTO);

    void saveTeachers(List<TeacherDTO> list);

    List<TbTeacher> getBatchTeacherByIdsAsync(List<Long> ids) throws InterruptedException;

    List<TbTeacher> getBatchTeacherByIdsSync(List<Long> ids);

}
